package cn.wolfcode.trip.base.domain;

import cn.wolfcode.trip.base.util.JSONUtil;
import com.fasterxml.jackson.annotation.JsonFormat;
import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import java.util.Date;
import java.util.HashMap;
import java.util.Map;

@Getter@Setter@ToString
public class FriendshipPraise extends BaseDomain {

    public static final Boolean READ_ALREADY=true;//已读
    public static final Boolean READ_UNREAD=false;//未读

    private Friendship friendship;

    private User praiseuser; //关注人

    private User bepraiseuser; //被关注人

    private Boolean read=READ_UNREAD;//默认未读

    @JsonFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date praiseTime;



}